<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script>
			//js方法
			function toCelsius(f){
				return (f-32)*5/9;
			}
			var m=87;
			var x=toCelsius(m);
			var text="f"+m+"=tem"+x;
			console.log(text);
			
			
		</script>
	</body>
</html>
